home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 3_0 / CUTILSLI / UTILITYL / PRSTRING.C < prev    next >
Text File  |  1987-11-10  |  879b  |  27 lines

  1.     /********************************************
  2.     *    Filename:    PrString.c                                                                
  3.     *    Purpose:    String Printing Function                                                
  4.     *    Authors:    Robert E. Neville                                                        
  5.     *    Date:        November 5, 1987                                                        
  6.     *    Functions:    PrString().                                                                                        
  7.     *    Version        1.0                                                                            
  8.     *    Copyright    1987    Hummingbird Graphics                                        
  9.     *********************************************/
  10.  
  11.     /****************************************************************
  12.     *    Function:    PrString( x, y, str)
  13.     *    Purpose:    Print a line of text in the current port.
  14.     *    Passed:        x,y:  coordinates of the line in local coords
  15.     *                str:  pointer to the Pascal string to print
  16.     *    Returned:    Nothing.
  17.     *****************************************************************/
  18.  
  19.     PrString(x,y,str)
  20.     short x,y;
  21.     char *str;
  22.     {
  23.         MoveTo(x,y);    
  24.         DrawString(str);
  25.     }
  26.  
  27.     /**********     End of File     **********/